package com.sixth.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * shopkeeperchange
 * @author 
 */
@Data
public class Shopkeeperchange implements Serializable {
    /**
     * 主键
     */
    private Integer sid;

    private Integer staffid;

    private Integer branchid;

    private Integer deptid;

    private Integer roleid;

    private Integer newbranchid;

    private Integer newdeptid;

    private Integer newroleid;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date transfertime;

    private Integer transferper;

    private Integer state;
    //员工
    private Staff staff;
    //老店
    private Branch branch;
    //新店
    private Branch newbranch;
    //老部门
    private Department department;
    //新部门
    private Department newdepartment;
    //职位
    private Role role;
    //新职位
    private Role newrole;
    //审核人
    private Staff exstaff;

    private static final long serialVersionUID = 1L;
}